package com.swallow.auth.domain.dept.repository;

import com.swallow.auth.domain.dept.model.entity.DeptEntity;

import java.util.List;

/**
 * @author: 18310740596@163.com
 * @date: 2024-05-20 22:27:20
 * @version: v1.0
 * @describe: class responsibility
 */
public interface IDeptDomainRepository {

    void create(DeptEntity deptEntity);

    Boolean nameRepeatCheck(DeptEntity deptEntity);


    List<DeptEntity> findSubDept(DeptEntity entity);
}
